package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;

@Data
public class ScoreVo {
    @ApiModelProperty(value = "id", required = false)
    private Long id;


    /**
     * 被评分人员工id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty(value = "员工oid", required = false)
    private Long oid;

    /**
     * 评分类型   方案id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty(value = "评分类型id", required = false)
    private Long programId;
    /**
     * 是否自评
     */
    @ApiModelProperty(value = "是否自评 0否 1是 ", required = false)
    private Integer isAppraisal;

    @ApiModelProperty(value = "上级评分人oid集合", required = false)
    private ArrayList<String> superiorList;

    @ApiModelProperty(value = "上级评分人oid集合", required = false)
    private ArrayList<String> sameLevelList;

    @ApiModelProperty(value = "上级评分人oid集合", required = false)
    private ArrayList<String> subordinateList;


}
